package com.nerve.cloudoffice.domain;

import java.util.Date;

/**
 * @project: cloudOffice
 * @file: Task.java
 * @package: com.nerve.cloudoffice.domain
 * @description:
 *
 * @author: 集成显卡	1053214511@qq.com
				IBM GDC, zengxm@cn.ibm.com
 * @date&time: 2013-8-3
 * @change log:
 */
@SuppressWarnings("serial")
public class Task extends BaseEntity{
	
	public static final int FORCE = 0;
	public static final int WAIT_ACCEPT = 1;
	public static final int ACCEPTED = 2;
	public static final int REJECT = 3;
	
	private String title;
	private User sendUser;
	private User workUser;
	private Date startDate;
	private Date endDate;
	private int level;
	private int status;
	private boolean draft;
	private boolean trash;
	private String message;
	private int loaction;
	
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public User getSendUser() {
		return sendUser;
	}
	public void setSendUser(User sendUser) {
		this.sendUser = sendUser;
	}
	public User getWorkUser() {
		return workUser;
	}
	public void setWorkUser(User workUser) {
		this.workUser = workUser;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public boolean isDraft() {
		return draft;
	}
	public void setDraft(boolean draft) {
		this.draft = draft;
	}
	public boolean isTrash() {
		return trash;
	}
	public void setTrash(boolean trash) {
		this.trash = trash;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public int getLoaction() {
		return loaction;
	}
	public void setLoaction(int loaction) {
		this.loaction = loaction;
	}
}